<?php $this->_extends('_layouts/default_layout'); ?>
<?php $this->_block('title');?><?=$nickname?>的页面<?php $this->_endblock(); ?>
<?php $this->_block('helper');?>
	<div class="profile ui-corner-all">
		用户： <?=$username ?><br />
        昵称： <?=$nickname ?><br />
		注册时间：<?=$registerTime ?>
	</div>
<?php $this->_endblock();?>
<?php $this->_block('contents'); ?>
<div class="text-body">
<?php if (isset($noHaveThisUser) && $noHaveThisUser == true):?>
	没有这个用户:)
<?php else:?>
	<h3 style="float:left; margin:15px 0px 16px 10px;"><?=$nickname ?> 关注的证券：</h3>
	<?php if(isset($rows) && count($rows) > 0): foreach($rows as $row):?>
		<div class="entry my-entry">
			<table cellspacing="0" cellpadding="0" border="0" width="100%">
				<tr>
					<td class="body">
						<span class="name"><a href="<?=url("sec/comment", "id/{$row['id']}") ?>"><?=h($row['name']) ?> (<?= h($row['code']) ?>)</a> <span class="description" style="font-weight: normal; font-size: 80%;"><?= $row['follow_time'] ?>关注 </span></span>
						
					</td>
				</tr>
			</table>
		</div>
	<?php endforeach; else:?>
		<div class="entry" style="clear: left;">未关注任何证券:)</div>
	<?php endif;?>
	
	<div class="clear"></div>
	<br />
	<h3 style="float:left; margin:0px 0px 5px 10px;"><?=$nickname ?> 我报道的小新闻：</h3>
	<?php if(isset($ps) && count($ps) > 0): ?>
	<?php foreach($ps as $p): ?>
		<a class="press-entity" style="margin-left: 30px;" href="<?=url("press/p", "id/{$p['id']}") ?>">
					<?=$p['press'] ?> <span class="signboard ui-corner-all" style=" font-size: 13px; opacity: 0.1">查看评论..</span>
		</a>
	<?php endforeach;?>
	<?php else:?>
	<br /><br /><span>无新闻</span>
	<?php endif;?>
<?php endif;?>
<div class="clear"></div>
</div>		
<?php $this->_endblock(); ?>
